package com.gill.aop.service.impl;

import com.gill.aop.service.Service1;
import org.springframework.stereotype.Component;

@Component
public class Service1Impl implements Service1 {
	@Override
	public void print() {
		System.out.println("print: 1 ");
	}

	@Override
	public void doError() {
		throw new RuntimeException("doError: 1 ");
	}
}
